package com.makemoney.miniprogram.modules.users.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.makemoney.miniprogram.modules.users.entity.Roles;
import com.makemoney.miniprogram.modules.users.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {
    List<Roles> listByUserId(@Param("userId") Long userId);
}
